package com.angus.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Description :
 * Created by Angus on 2022/9/2 10:55
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.angus"})//加载common模块里的service_base的配置类
@EnableDiscoveryClient   //nacos注册
@EnableFeignClients   //服务调用端（消费者
public class EduApplication {

    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
